/**
 * OrderProfitRecord
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2017-12-11  Created
 */
package com.lzy.product.entity;

import com.lzy.framework.template.BaseDomain;
import java.math.BigDecimal;

/**
 * Description: OrderProfitRecord
 * Author: mybatis-generator
 * Version: 1.0 
 * Create Date Time: 2017-12-11
 * Update Date Time: 
 * @see 'http://www.lzyhll.com'
 */
public class OrderProfitRecord extends BaseDomain {
    private Long id;

    /**
     * 订单号
     */
    private Long orderId;

    /**
     * 产品SKU
     */
    private Long skuCode;

    /**
     * 商品名称
     */
    private String skuName;

    /**
     * 收益业务员ID
     */
    private Long userId;

    /**
     * 收益业务员姓名
     */
    private String userName;

    /**
     * 收益
     */
    private BigDecimal profit;

    /**
     * 收益层级：1- 一级业务员，2-二级业务员，3-三级业务员
     */
    private Integer level;

    /**
     * 下单业务员ID
     */
    private Long orderUserId;

    /**
     * 下单业务员姓名
     */
    private String orderUserName;

    /**
     * 成交时间（格式：yyyy-MM-dd hh:mm）
     */
    private String orderTime;

    /**
     * 创建时间
     */
    private String createTime;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public Long getSkuCode() {
        return skuCode;
    }

    public void setSkuCode(Long skuCode) {
        this.skuCode = skuCode;
    }

    public String getSkuName() {
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName == null ? null : skuName.trim();
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName == null ? null : userName.trim();
    }

    public BigDecimal getProfit() {
        return profit;
    }

    public void setProfit(BigDecimal profit) {
        this.profit = profit;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Long getOrderUserId() {
        return orderUserId;
    }

    public void setOrderUserId(Long orderUserId) {
        this.orderUserId = orderUserId;
    }

    public String getOrderUserName() {
        return orderUserName;
    }

    public void setOrderUserName(String orderUserName) {
        this.orderUserName = orderUserName == null ? null : orderUserName.trim();
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime == null ? null : orderTime.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }
}